import request from '/@/utils/request';

export const USER_PERMISSION = '/api/user/permission';

export function getButtons(pageName:string,approveStatus:string) {
    return request({
        url: USER_PERMISSION + '/button',
        method: 'get',
        params:{
            pageName: pageName,
            approveStatus: approveStatus
        }
    });
}
